package com.xbongbong.pro.statistic.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author 梁鲁江
 * @version v1.0
 * @date 2019/7/15 13:45
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ReInitDataDTO extends BaseDTO {
    private static final long serialVersionUID = -5761216652542740032L;
    /**
     * 验证码
     */
    @NotEmpty(message = "{dto.msg.reInitData.xbbCode.NotEmpty}")
    private String xbbCode;
    /**
     * 图表的id
     */
    @NotNull(message = "{dto.msg.reInitData.chartId.NotNull}")
    private Long chartId;
}
